//
//  ImageViewController.h
//  nonghubao
//
//  Created by 王 文彬 on 13-3-16.
//  Copyright (c) 2013年 Chongqing Nonghubao Co., Ltd. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ImageViewControllerDelegate <NSObject>

@optional
- (void)imageViewControllDidDisappear;

@end

@interface ImageViewController : UIViewController
{
    NSURL*            _sourceURL;
    UIImage*          _image;
    UIImageView*      _imageView;
    UIScrollView*     _scrollView;
    UIActivityIndicatorView*  _activityIndicator;
    id<ImageViewControllerDelegate> __weak _delegate;
}

@property (weak, nonatomic) id<ImageViewControllerDelegate> delegate;

- (id)initWithURL:(NSURL *)sourceURL;

@end
